package com.xky.rabbitmq.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author keying.xia
 * @date 2017/12/8
 */
@Configuration
public class AmqpConfiguration {

    @Bean
    public Queue queue(){
        return new Queue("hello.queue");
    }


}
